home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 January / macpower199701.bin / AMUG / Programming_10 / Videotoolbox 96-08-22-c.sit / VideoToolbox / VideoToolboxSources / ATMInterface.c < prev    next >
MacBinary  |  1995-07-26  |  4.9 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: ATMInterface.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Jul 26 04:39:59 1995, modified Wed Jul 26 04:39:59 1995, creator 'CWIE', type ASCII, 4240 bytes "ATMInterface.c" , at 0x1110 512 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 41 54 4d 49 6e 74 | 65 72 66 61 63 65 2e 63 |..ATMInt|erface.c|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 10 90 00 | 00 02 00 ac 3b af df ac |........|....;...|
|00000060| 3b af df 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 dc ad 00 00 |........|........|
|00000080| 2f 2a 0d 20 2a 20 41 54 | 4d 49 6e 74 65 72 66 61 |/*. * AT|MInterfa|
|00000090| 63 65 2e 63 0d 20 2a 0d | 20 2a 20 56 65 72 73 69 |ce.c. *.| * Versi|
|000000a0| 6f 6e 20 31 2e 30 31 0d | 20 2a 0d 20 2a 20 41 64 |on 1.01.| *. * Ad|
|000000b0| 6f 62 65 20 54 79 70 65 | 20 4d 61 6e 61 67 65 72 |obe Type| Manager|
|000000c0| 20 69 73 20 61 20 74 72 | 61 64 65 6d 61 72 6b 20 | is a tr|ademark |
|000000d0| 0d 20 2a 20 6f 66 20 41 | 64 6f 62 65 20 53 79 73 |. * of A|dobe Sys|
|000000e0| 74 65 6d 73 20 49 6e 63 | 6f 72 70 6f 72 61 74 65 |tems Inc|orporate|
|000000f0| 64 2e 0d 0d 41 73 20 70 | 72 6f 76 69 64 65 64 20 |d...As p|rovided |
|00000100| 62 79 20 41 64 6f 62 65 | 2c 20 41 54 4d 49 6e 74 |by Adobe|, ATMInt|
|00000110| 65 72 66 61 63 65 2e 63 | 20 6f 6e 6c 79 20 77 6f |erface.c| only wo|
|00000120| 72 6b 65 64 20 69 66 20 | 63 6f 6d 70 69 6c 65 64 |rked if |compiled|
|00000130| 20 61 73 20 36 38 6b 20 | 63 6f 64 65 2e 20 49 27 | as 68k |code. I'|
|00000140| 76 65 0d 65 6e 68 61 6e | 63 65 64 20 69 74 2c 20 |ve.enhan|ced it, |
|00000150| 62 79 20 63 68 61 6e 67 | 69 6e 67 20 74 68 65 20 |by chang|ing the |
|00000160| 64 69 72 65 63 74 20 63 | 61 6c 6c 73 20 74 6f 20 |direct c|alls to |
|00000170| 41 54 4d 20 74 6f 20 69 | 6e 64 69 72 65 63 74 20 |ATM to i|ndirect |
|00000180| 43 61 6c 6c 55 6e 69 76 | 65 72 73 61 6c 50 72 6f |CallUniv|ersalPro|
|00000190| 63 0d 63 61 6c 6c 73 2c | 20 73 6f 20 74 68 65 20 |c.calls,| so the |
|000001a0| 4d 69 78 65 64 20 4d 6f | 64 65 20 4d 61 6e 61 67 |Mixed Mo|de Manag|
|000001b0| 65 72 20 63 61 6e 20 64 | 6f 20 69 74 73 20 6d 61 |er can d|o its ma|
|000001c0| 67 69 63 20 69 66 20 74 | 68 69 73 20 66 69 6c 65 |gic if t|his file|
|000001d0| 20 69 73 20 63 6f 6d 70 | 69 6c 65 64 20 74 6f 0d | is comp|iled to.|
|000001e0| 72 75 6e 20 6e 61 74 69 | 76 65 2e 20 54 68 69 73 |run nati|ve. This|
|000001f0| 20 77 6f 72 6b 73 20 77 | 69 74 68 20 74 68 65 20 | works w|ith the |
|00000200| 63 75 72 72 65 6e 74 20 | 36 38 6b 20 76 65 72 73 |current |68k vers|
|00000210| 69 6f 6e 20 6f 66 20 41 | 54 4d 20 28 33 2e 36 2e |ion of A|TM (3.6.|
|00000220| 31 29 2c 20 61 6e 64 20 | 77 69 6c 6c 0d 70 72 6f |1), and |will.pro|
|00000230| 62 61 62 6c 79 20 61 6c | 73 6f 20 77 6f 72 6b 20 |bably al|so work |
|00000240| 77 69 74 68 20 74 68 65 | 20 66 6f 72 74 68 63 6f |with the| forthco|
|00000250| 6d 69 6e 67 20 66 61 74 | 20 76 65 72 73 69 6f 6e |ming fat| version|
|00000260| 20 6f 66 20 41 54 4d 20 | 28 33 2e 38 3f 29 2c 20 | of ATM |(3.8?), |
|00000270| 61 73 73 75 6d 69 6e 67 | 0d 41 64 6f 62 65 20 6d |assuming|.Adobe m|
|00000280| 61 69 6e 74 61 69 6e 73 | 20 74 68 65 20 41 50 49 |aintains| the API|
|00000290| 20 28 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 50 72 | (Applic|ation Pr|
|000002a0| 6f 67 72 61 6d 6d 69 6e | 67 20 49 6e 74 65 72 66 |ogrammin|g Interf|
|000002b0| 61 63 65 29 2e 20 48 6f | 77 65 76 65 72 2c 20 77 |ace). Ho|wever, w|
|000002c0| 65 20 77 69 6c 6c 20 62 | 65 0d 63 61 6c 6c 69 6e |e will b|e.callin|
|000002d0| 67 20 74 68 65 20 36 38 | 6b 20 63 6f 64 65 20 69 |g the 68|k code i|
|000002e0| 6e 20 41 54 4d 2e 0d 0d | 54 68 69 73 20 70 72 6f |n ATM...|This pro|
|000002f0| 67 72 61 6d 20 66 72 6f | 6d 20 41 64 6f 62 65 20 |gram fro|m Adobe |
|00000300| 28 56 65 72 73 69 6f 6e | 20 31 2e 30 31 29 20 69 |(Version| 1.01) i|
|00000310| 73 20 71 75 69 74 65 20 | 6f 6c 64 2c 20 62 75 74 |s quite |old, but|
|00000320| 20 69 74 73 20 41 50 49 | 20 69 73 20 73 74 69 6c | its API| is stil|
|00000330| 6c 0d 73 75 70 70 6f 72 | 74 65 64 20 62 79 20 63 |l.suppor|ted by c|
|00000340| 75 72 72 65 6e 74 20 76 | 65 72 73 69 6f 6e 73 20 |urrent v|ersions |
|00000350| 6f 66 20 41 54 4d 20 28 | 33 2e 38 2e 32 29 2e 20 |of ATM (|3.8.2). |
|00000360| 4e 65 77 65 72 20 76 65 | 72 73 69 6f 6e 73 20 6f |Newer ve|rsions o|
|00000370| 66 20 41 54 4d 49 6e 74 | 65 72 66 61 63 65 2e 63 |f ATMInt|erface.c|
|00000380| 20 61 64 64 20 61 20 77 | 61 79 20 74 6f 20 72 65 | add a w|ay to re|
|00000390| 74 75 72 6e 0d 61 6e 20 | 65 72 72 6f 72 20 63 6f |turn.an |error co|
|000003a0| 64 65 20 74 6f 20 73 6f | 6d 65 20 6f 66 20 74 68 |de to so|me of th|
|000003b0| 65 73 65 20 66 75 6e 63 | 74 69 6f 6e 73 2c 20 61 |ese func|tions, a|
|000003c0| 6e 64 20 61 64 64 20 61 | 20 77 68 6f 6c 65 20 73 |nd add a| whole s|
|000003d0| 6c 65 77 20 6f 66 20 66 | 75 6e 63 74 69 6f 6e 73 |lew of f|unctions|
|000003e0| 0d 66 6f 72 20 63 6f 6e | 74 72 6f 6c 6c 69 6e 67 |.for con|trolling|
|000003f0| 20 53 75 70 65 72 41 54 | 4d 27 73 20 4d 75 6c 74 | SuperAT|M's Mult|
|00000400| 69 70 6c 65 20 66 6f 6e | 74 20 4d 61 73 74 65 72 |iple fon|t Master|
|00000410| 20 63 61 70 61 62 69 6c | 69 74 69 65 73 2e 0d 54 | capabil|ities..T|
|00000420| 68 65 20 63 75 72 72 65 | 6e 74 20 76 65 72 73 69 |he curre|nt versi|
|00000430| 6f 6e 20 28 33 2e 30 29 | 20 6f 66 20 41 54 4d 49 |on (3.0)| of ATMI|
|00000440| 6e 74 65 72 66 61 63 65 | 2e 63 20 63 61 6e 20 62 |nterface|.c can b|
|00000450| 65 20 64 6f 77 6e 6c 6f | 61 64 65 64 20 66 72 6f |e downlo|aded fro|
|00000460| 6d 3a 0d 66 74 70 3a 2f | 2f 66 74 70 2e 6d 76 2e |m:.ftp:/|/ftp.mv.|
|00000470| 75 73 2e 61 64 6f 62 65 | 2e 63 6f 6d 2f 70 75 62 |us.adobe|.com/pub|
|00000480| 2f 61 64 6f 62 65 2f 50 | 72 6f 67 72 61 6d 73 2f |/adobe/P|rograms/|
|00000490| 4d 61 63 41 54 4d 33 30 | 68 65 61 64 65 72 73 2e |MacATM30|headers.|
|000004a0| 73 65 61 2e 68 71 78 0d | 46 6f 72 20 63 75 72 72 |sea.hqx.|For curr|
|000004b0| 65 6e 74 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |ent docu|mentatio|
|000004c0| 6e 20 6f 66 20 74 68 65 | 20 41 54 4d 20 4d 61 63 |n of the| ATM Mac|
|000004d0| 69 6e 74 6f 73 68 20 43 | 20 69 6e 74 65 72 66 61 |intosh C| interfa|
|000004e0| 63 65 20 64 6f 77 6e 6c | 6f 61 64 3a 0d 66 74 70 |ce downl|oad:.ftp|
|000004f0| 3a 2f 2f 66 74 70 2e 6d | 76 2e 75 73 2e 61 64 6f |://ftp.m|v.us.ado|
|00000500| 62 65 2e 63 6f 6d 2f 70 | 75 62 2f 61 64 6f 62 65 |be.com/p|ub/adobe|
|00000510| 2f 44 65 76 65 6c 6f 70 | 65 72 53 75 70 70 6f 72 |/Develop|erSuppor|
|00000520| 74 2f 54 65 63 68 4e 6f | 74 65 73 2f 35 30 37 32 |t/TechNo|tes/5072|
|00000530| 2e 41 54 4d 5f 41 64 76 | 5f 4d 61 63 2e 70 64 66 |.ATM_Adv|_Mac.pdf|
|00000540| 0d 0d 48 49 53 54 4f 52 | 59 3a 0d 39 33 3f 09 64 |..HISTOR|Y:.93?.d|
|00000550| 67 70 20 49 20 64 6f 6e | 27 74 20 72 65 6d 65 6d |gp I don|'t remem|
|00000560| 62 65 72 20 68 6f 77 20 | 6f 72 20 77 68 65 6e 20 |ber how |or when |
|00000570| 49 20 67 6f 74 20 74 68 | 69 73 2e 20 50 65 72 68 |I got th|is. Perh|
|00000580| 61 70 73 20 66 72 6f 6d | 20 74 68 65 20 41 64 6f |aps from| the Ado|
|00000590| 62 65 20 73 65 63 74 69 | 6f 6e 20 0d 6f 66 20 43 |be secti|on .of C|
|000005a0| 6f 6d 70 75 73 65 72 76 | 65 2e 0d 39 2f 37 2f 39 |ompuserv|e..9/7/9|
|000005b0| 34 20 64 67 70 20 49 6e | 74 72 6f 64 75 63 65 64 |4 dgp In|troduced|
|000005c0| 20 55 6e 69 76 65 72 73 | 61 6c 20 70 72 6f 63 20 | Univers|al proc |
|000005d0| 70 6f 69 6e 74 65 72 73 | 20 74 6f 20 61 6c 6c 6f |pointers| to allo|
|000005e0| 77 20 50 6f 77 65 72 50 | 43 20 63 6f 64 65 20 74 |w PowerP|C code t|
|000005f0| 6f 20 63 61 6c 6c 0d 74 | 68 65 20 63 75 72 72 65 |o call.t|he curre|
|00000600| 6e 74 20 28 36 38 6b 29 | 20 76 65 72 73 69 6f 6e |nt (68k)| version|
|00000610| 20 6f 66 20 41 54 4d 20 | 28 33 2e 36 2e 31 29 2e | of ATM |(3.6.1).|
|00000620| 20 0d 31 31 2f 31 35 2f | 39 34 20 64 67 70 20 6d | .11/15/|94 dgp m|
|00000630| 61 64 65 20 63 6f 6d 70 | 61 74 69 62 6c 65 20 77 |ade comp|atible w|
|00000640| 69 74 68 20 70 72 65 2d | 55 6e 69 76 65 72 73 61 |ith pre-|Universa|
|00000650| 6c 20 68 65 61 64 65 72 | 73 2e 0d 31 2f 35 2f 39 |l header|s..1/5/9|
|00000660| 35 20 64 67 70 20 6d 61 | 64 65 20 63 6f 6d 70 61 |5 dgp ma|de compa|
|00000670| 74 69 62 6c 65 20 77 69 | 74 68 20 55 6e 69 76 65 |tible wi|th Unive|
|00000680| 72 73 61 6c 20 48 65 61 | 64 65 72 73 20 32 2e 0d |rsal Hea|ders 2..|
|00000690| 2a 2f 0d 23 69 6e 63 6c | 75 64 65 20 22 41 54 4d |*/.#incl|ude "ATM|
|000006a0| 49 6e 74 65 72 66 61 63 | 65 2e 68 22 0d 23 69 66 |Interfac|e.h".#if|
|000006b0| 20 64 65 66 69 6e 65 64 | 28 5f 5f 70 6f 77 65 72 | defined|(__power|
|000006c0| 63 29 20 26 26 20 21 64 | 65 66 69 6e 65 64 28 5f |c) && !d|efined(_|
|000006d0| 5f 4d 49 58 45 44 4d 4f | 44 45 5f 5f 29 0d 09 23 |_MIXEDMO|DE__)..#|
|000006e0| 69 6e 63 6c 75 64 65 20 | 3c 4d 69 78 65 64 4d 6f |include |<MixedMo|
|000006f0| 64 65 2e 68 3e 0d 23 65 | 6e 64 69 66 0d 23 69 66 |de.h>.#e|ndif.#if|
|00000700| 6e 64 65 66 20 47 45 4e | 45 52 41 54 49 4e 47 36 |ndef GEN|ERATING6|
|00000710| 38 4b 09 2f 2f 20 41 6c | 6c 6f 77 20 63 6f 6d 70 |8K.// Al|low comp|
|00000720| 69 6c 61 74 69 6f 6e 20 | 77 69 74 68 6f 75 74 20 |ilation |without |
|00000730| 56 69 64 65 6f 54 6f 6f | 6c 62 6f 78 2e 68 2c 20 |VideoToo|lbox.h, |
|00000740| 77 69 74 68 20 6f 6c 64 | 20 41 70 70 6c 65 20 68 |with old| Apple h|
|00000750| 65 61 64 65 72 73 2e 0d | 09 23 69 66 20 64 65 66 |eaders..|.#if def|
|00000760| 69 6e 65 64 28 5f 5f 70 | 6f 77 65 72 63 29 0d 09 |ined(__p|owerc)..|
|00000770| 09 23 69 66 6e 64 65 66 | 20 47 45 4e 45 52 41 54 |.#ifndef| GENERAT|
|00000780| 49 4e 47 36 38 4b 0d 09 | 09 09 23 64 65 66 69 6e |ING68K..|..#defin|
|00000790| 65 20 47 45 4e 45 52 41 | 54 49 4e 47 36 38 4b 20 |e GENERA|TING68K |
|000007a0| 30 0d 09 09 09 23 64 65 | 66 69 6e 65 20 47 45 4e |0....#de|fine GEN|
|000007b0| 45 52 41 54 49 4e 47 50 | 4f 57 45 52 50 43 20 31 |ERATINGP|OWERPC 1|
|000007c0| 0d 09 09 23 65 6e 64 69 | 66 0d 09 23 65 6c 73 65 |...#endi|f..#else|
|000007d0| 0d 09 09 23 64 65 66 69 | 6e 65 20 47 45 4e 45 52 |...#defi|ne GENER|
|000007e0| 41 54 49 4e 47 36 38 4b | 20 31 0d 09 09 23 64 65 |ATING68K| 1...#de|
|000007f0| 66 69 6e 65 20 47 45 4e | 45 52 41 54 49 4e 47 50 |fine GEN|ERATINGP|
|00000800| 4f 57 45 52 50 43 20 30 | 0d 09 23 65 6e 64 69 66 |OWERPC 0|..#endif|
|00000810| 0d 23 65 6e 64 69 66 0d | 23 69 66 20 47 45 4e 45 |.#endif.|#if GENE|
|00000820| 52 41 54 49 4e 47 50 4f | 57 45 52 50 43 0d 09 65 |RATINGPO|WERPC..e|
|00000830| 6e 75 6d 7b 0d 09 09 75 | 70 70 46 6f 6e 74 41 76 |num{...u|ppFontAv|
|00000840| 61 69 6c 61 62 6c 65 3d | 6b 54 68 69 6e 6b 43 53 |ailable=|kThinkCS|
|00000850| 74 61 63 6b 42 61 73 65 | 64 0d 09 09 09 7c 20 52 |tackBase|d....| R|
|00000860| 45 53 55 4c 54 5f 53 49 | 5a 45 28 6b 54 77 6f 42 |ESULT_SI|ZE(kTwoB|
|00000870| 79 74 65 43 6f 64 65 29 | 0d 09 09 09 7c 20 53 54 |yteCode)|....| ST|
|00000880| 41 43 4b 5f 52 4f 55 54 | 49 4e 45 5f 50 41 52 41 |ACK_ROUT|INE_PARA|
|00000890| 4d 45 54 45 52 28 31 2c | 6b 54 77 6f 42 79 74 65 |METER(1,|kTwoByte|
|000008a0| 43 6f 64 65 29 0d 09 09 | 09 7c 20 53 54 41 43 4b |Code)...|.| STACK|
|000008b0| 5f 52 4f 55 54 49 4e 45 | 5f 50 41 52 41 4d 45 54 |_ROUTINE|_PARAMET|
|000008c0| 45 52 28 32 2c 6b 54 77 | 6f 42 79 74 65 43 6f 64 |ER(2,kTw|oByteCod|
|000008d0| 65 29 0d 09 09 2c 75 70 | 70 53 68 6f 77 54 65 78 |e)...,up|pShowTex|
|000008e0| 74 3d 6b 54 68 69 6e 6b | 43 53 74 61 63 6b 42 61 |t=kThink|CStackBa|
|000008f0| 73 65 64 0d 09 09 09 7c | 20 52 45 53 55 4c 54 5f |sed....|| RESULT_|
|00000900| 53 49 5a 45 28 6b 54 77 | 6f 42 79 74 65 43 6f 64 |SIZE(kTw|oByteCod|
|00000910| 65 29 0d 09 09 09 7c 20 | 53 54 41 43 4b 5f 52 4f |e)....| |STACK_RO|
|00000920| 55 54 49 4e 45 5f 50 41 | 52 41 4d 45 54 45 52 28 |UTINE_PA|RAMETER(|
|00000930| 31 2c 6b 46 6f 75 72 42 | 79 74 65 43 6f 64 65 29 |1,kFourB|yteCode)|
|00000940| 0d 09 09 09 7c 20 53 54 | 41 43 4b 5f 52 4f 55 54 |....| ST|ACK_ROUT|
|00000950| 49 4e 45 5f 50 41 52 41 | 4d 45 54 45 52 28 32 2c |INE_PARA|METER(2,|
|00000960| 6b 54 77 6f 42 79 74 65 | 43 6f 64 65 29 0d 09 09 |kTwoByte|Code)...|
|00000970| 09 7c 20 53 54 41 43 4b | 5f 52 4f 55 54 49 4e 45 |.| STACK|_ROUTINE|
|00000980| 5f 50 41 52 41 4d 45 54 | 45 52 28 33 2c 6b 46 6f |_PARAMET|ER(3,kFo|
|00000990| 75 72 42 79 74 65 43 6f | 64 65 29 0d 09 09 2c 75 |urByteCo|de)...,u|
|000009a0| 70 70 58 79 73 68 6f 77 | 54 65 78 74 3d 6b 54 68 |ppXyshow|Text=kTh|
|000009b0| 69 6e 6b 43 53 74 61 63 | 6b 42 61 73 65 64 0d 09 |inkCStac|kBased..|
|000009c0| 09 09 7c 20 52 45 53 55 | 4c 54 5f 53 49 5a 45 28 |..| RESU|LT_SIZE(|
|000009d0| 6b 54 77 6f 42 79 74 65 | 43 6f 64 65 29 0d 09 09 |kTwoByte|Code)...|
|000009e0| 09 7c 20 53 54 41 43 4b | 5f 52 4f 55 54 49 4e 45 |.| STACK|_ROUTINE|
|000009f0| 5f 50 41 52 41 4d 45 54 | 45 52 28 31 2c 6b 46 6f |_PARAMET|ER(1,kFo|
|00000a00| 75 72 42 79 74 65 43 6f | 64 65 29 0d 09 09 09 7c |urByteCo|de)....||
|00000a10| 20 53 54 41 43 4b 5f 52 | 4f 55 54 49 4e 45 5f 50 | STACK_R|OUTINE_P|
|00000a20| 41 52 41 4d 45 54 45 52 | 28 32 2c 6b 54 77 6f 42 |ARAMETER|(2,kTwoB|
|00000a30| 79 74 65 43 6f 64 65 29 | 0d 09 09 09 7c 20 53 54 |yteCode)|....| ST|
|00000a40| 41 43 4b 5f 52 4f 55 54 | 49 4e 45 5f 50 41 52 41 |ACK_ROUT|INE_PARA|
|00000a50| 4d 45 54 45 52 28 33 2c | 6b 46 6f 75 72 42 79 74 |METER(3,|kFourByt|
|00000a60| 65 43 6f 64 65 29 0d 09 | 09 09 7c 20 53 54 41 43 |eCode)..|..| STAC|
|00000a70| 4b 5f 52 4f 55 54 49 4e | 45 5f 50 41 52 41 4d 45 |K_ROUTIN|E_PARAME|
|00000a80| 54 45 52 28 34 2c 6b 46 | 6f 75 72 42 79 74 65 43 |TER(4,kF|ourByteC|
|00000a90| 6f 64 65 29 0d 09 7d 3b | 0d 23 65 6c 69 66 20 21 |ode)..};|.#elif !|
|00000aa0| 64 65 66 69 6e 65 64 28 | 4e 65 77 52 6f 75 74 69 |defined(|NewRouti|
|00000ab0| 6e 65 44 65 73 63 72 69 | 70 74 6f 72 29 0d 09 23 |neDescri|ptor)..#|
|00000ac0| 64 65 66 69 6e 65 20 4e | 65 77 52 6f 75 74 69 6e |define N|ewRoutin|
|00000ad0| 65 44 65 73 63 72 69 70 | 74 6f 72 28 74 68 65 50 |eDescrip|tor(theP|
|00000ae0| 72 6f 63 2c 74 68 65 50 | 72 6f 63 49 6e 66 6f 2c |roc,theP|rocInfo,|
|00000af0| 74 68 65 49 53 41 29 20 | 28 74 68 65 50 72 6f 63 |theISA) |(theProc|
|00000b00| 29 0d 23 65 6e 64 69 66 | 0d 0d 73 74 61 74 69 63 |).#endif|..static|
|00000b10| 20 73 68 6f 72 74 20 6f | 70 65 6e 3d 30 3b 0d 73 | short o|pen=0;.s|
|00000b20| 74 61 74 69 63 20 41 54 | 4d 50 72 6f 63 73 33 20 |tatic AT|MProcs3 |
|00000b30| 70 72 6f 63 73 3b 0d 0d | 73 68 6f 72 74 20 69 6e |procs;..|short in|
|00000b40| 69 74 41 54 4d 28 76 6f | 69 64 29 0d 7b 0d 09 43 |itATM(vo|id).{..C|
|00000b50| 6e 74 72 6c 50 61 72 61 | 6d 20 63 3b 0d 09 0d 09 |ntrlPara|m c;....|
|00000b60| 69 66 28 6f 70 65 6e 29 | 72 65 74 75 72 6e 20 31 |if(open)|return 1|
|00000b70| 3b 09 2f 2f 20 61 64 64 | 65 64 20 62 79 20 44 65 |;.// add|ed by De|
|00000b80| 6e 69 73 20 50 65 6c 6c | 69 20 74 6f 20 73 6b 69 |nis Pell|i to ski|
|00000b90| 70 20 6f 70 65 6e 69 6e | 67 20 69 66 20 61 6c 72 |p openin|g if alr|
|00000ba0| 65 61 64 79 20 6f 70 65 | 6e 0d 09 69 66 28 4f 70 |eady ope|n..if(Op|
|00000bb0| 65 6e 44 72 69 76 65 72 | 28 22 5c 70 2e 41 54 4d |enDriver|("\p.ATM|
|00000bc0| 22 2c 26 63 2e 69 6f 43 | 52 65 66 4e 75 6d 29 29 |",&c.ioC|RefNum))|
|00000bd0| 72 65 74 75 72 6e 20 30 | 3b 0d 09 63 2e 63 73 43 |return 0|;..c.csC|
|00000be0| 6f 64 65 20 3d 20 41 54 | 4d 50 72 6f 63 73 53 74 |ode = AT|MProcsSt|
|00000bf0| 61 74 75 73 43 6f 64 65 | 3b 0d 09 2a 28 41 54 4d |atusCode|;..*(ATM|
|00000c00| 50 72 6f 63 73 33 20 2a | 2a 29 20 63 2e 63 73 50 |Procs3 *|*) c.csP|
|00000c10| 61 72 61 6d 20 3d 20 26 | 70 72 6f 63 73 3b 0d 09 |aram = &|procs;..|
|00000c20| 70 72 6f 63 73 2e 76 65 | 72 73 69 6f 6e 20 3d 20 |procs.ve|rsion = |
|00000c30| 41 54 4d 50 72 6f 63 73 | 33 56 65 72 73 69 6f 6e |ATMProcs|3Version|
|00000c40| 3b 0d 09 69 66 28 50 42 | 53 74 61 74 75 73 28 28 |;..if(PB|Status((|
|00000c50| 50 61 72 6d 42 6c 6b 50 | 74 72 29 26 63 2c 30 29 |ParmBlkP|tr)&c,0)|
|00000c60| 29 72 65 74 75 72 6e 20 | 30 3b 0d 09 6f 70 65 6e |)return |0;..open|
|00000c70| 3d 31 3b 0d 09 2f 2a 20 | 72 65 70 6c 61 63 65 20 |=1;../* |replace |
|00000c80| 65 61 63 68 20 50 72 6f | 63 50 74 72 20 62 79 20 |each Pro|cPtr by |
|00000c90| 61 20 55 6e 69 76 65 72 | 73 61 6c 50 72 6f 63 50 |a Univer|salProcP|
|00000ca0| 74 72 2e 20 2a 2f 0d 09 | 70 72 6f 63 73 2e 66 6f |tr. */..|procs.fo|
|00000cb0| 6e 74 41 76 61 69 6c 61 | 62 6c 65 3d 28 76 6f 69 |ntAvaila|ble=(voi|
|00000cc0| 64 20 2a 29 4e 65 77 52 | 6f 75 74 69 6e 65 44 65 |d *)NewR|outineDe|
|00000cd0| 73 63 72 69 70 74 6f 72 | 28 28 50 72 6f 63 50 74 |scriptor|((ProcPt|
|00000ce0| 72 29 70 72 6f 63 73 2e | 66 6f 6e 74 41 76 61 69 |r)procs.|fontAvai|
|00000cf0| 6c 61 62 6c 65 2c 75 70 | 70 46 6f 6e 74 41 76 61 |lable,up|pFontAva|
|00000d00| 69 6c 61 62 6c 65 2c 6b | 4d 36 38 6b 49 53 41 29 |ilable,k|M68kISA)|
|00000d10| 3b 0d 09 70 72 6f 63 73 | 2e 73 68 6f 77 54 65 78 |;..procs|.showTex|
|00000d20| 74 3d 28 76 6f 69 64 20 | 2a 29 4e 65 77 52 6f 75 |t=(void |*)NewRou|
|00000d30| 74 69 6e 65 44 65 73 63 | 72 69 70 74 6f 72 28 28 |tineDesc|riptor((|
|00000d40| 50 72 6f 63 50 74 72 29 | 70 72 6f 63 73 2e 73 68 |ProcPtr)|procs.sh|
|00000d50| 6f 77 54 65 78 74 2c 75 | 70 70 53 68 6f 77 54 65 |owText,u|ppShowTe|
|00000d60| 78 74 2c 6b 4d 36 38 6b | 49 53 41 29 3b 0d 09 70 |xt,kM68k|ISA);..p|
|00000d70| 72 6f 63 73 2e 78 79 73 | 68 6f 77 54 65 78 74 3d |rocs.xys|howText=|
|00000d80| 28 76 6f 69 64 20 2a 29 | 4e 65 77 52 6f 75 74 69 |(void *)|NewRouti|
|00000d90| 6e 65 44 65 73 63 72 69 | 70 74 6f 72 28 28 50 72 |neDescri|ptor((Pr|
|00000da0| 6f 63 50 74 72 29 70 72 | 6f 63 73 2e 78 79 73 68 |ocPtr)pr|ocs.xysh|
|00000db0| 6f 77 54 65 78 74 2c 75 | 70 70 58 79 73 68 6f 77 |owText,u|ppXyshow|
|00000dc0| 54 65 78 74 2c 6b 4d 36 | 38 6b 49 53 41 29 3b 0d |Text,kM6|8kISA);.|
|00000dd0| 09 72 65 74 75 72 6e 20 | 31 3b 0d 7d 0d 0d 73 68 |.return |1;.}..sh|
|00000de0| 6f 72 74 20 66 6f 6e 74 | 41 76 61 69 6c 61 62 6c |ort font|Availabl|
|00000df0| 65 41 54 4d 28 73 68 6f | 72 74 20 66 61 6d 69 6c |eATM(sho|rt famil|
|00000e00| 79 2c 73 68 6f 72 74 20 | 73 74 79 6c 65 29 0d 7b |y,short |style).{|
|00000e10| 0d 09 23 69 66 20 47 45 | 4e 45 52 41 54 49 4e 47 |..#if GE|NERATING|
|00000e20| 36 38 4b 0d 09 09 72 65 | 74 75 72 6e 20 6f 70 65 |68K...re|turn ope|
|00000e30| 6e 20 3f 20 28 2a 70 72 | 6f 63 73 2e 66 6f 6e 74 |n ? (*pr|ocs.font|
|00000e40| 41 76 61 69 6c 61 62 6c | 65 29 28 66 61 6d 69 6c |Availabl|e)(famil|
|00000e50| 79 2c 73 74 79 6c 65 29 | 20 3a 20 30 3b 0d 09 23 |y,style)| : 0;..#|
|00000e60| 65 6c 73 65 0d 09 09 72 | 65 74 75 72 6e 20 6f 70 |else...r|eturn op|
|00000e70| 65 6e 20 3f 20 43 61 6c | 6c 55 6e 69 76 65 72 73 |en ? Cal|lUnivers|
|00000e80| 61 6c 50 72 6f 63 28 70 | 72 6f 63 73 2e 66 6f 6e |alProc(p|rocs.fon|
|00000e90| 74 41 76 61 69 6c 61 62 | 6c 65 2c 75 70 70 46 6f |tAvailab|le,uppFo|
|00000ea0| 6e 74 41 76 61 69 6c 61 | 62 6c 65 0d 09 09 09 2c |ntAvaila|ble....,|
|00000eb0| 66 61 6d 69 6c 79 2c 73 | 74 79 6c 65 29 20 3a 20 |family,s|tyle) : |
|00000ec0| 30 3b 0d 09 23 65 6e 64 | 69 66 0d 7d 0d 0d 73 68 |0;..#end|if.}..sh|
|00000ed0| 6f 72 74 20 73 68 6f 77 | 54 65 78 74 41 54 4d 28 |ort show|TextATM(|
|00000ee0| 63 68 61 72 20 2a 74 65 | 78 74 2c 73 68 6f 72 74 |char *te|xt,short|
|00000ef0| 20 6c 65 6e 67 74 68 2c | 46 69 78 65 64 4d 61 74 | length,|FixedMat|
|00000f00| 72 69 78 20 2a 6d 61 74 | 72 69 78 29 0d 7b 0d 09 |rix *mat|rix).{..|
|00000f10| 23 69 66 20 47 45 4e 45 | 52 41 54 49 4e 47 36 38 |#if GENE|RATING68|
|00000f20| 4b 0d 09 09 72 65 74 75 | 72 6e 20 6f 70 65 6e 20 |K...retu|rn open |
|00000f30| 3f 20 28 2a 70 72 6f 63 | 73 2e 73 68 6f 77 54 65 |? (*proc|s.showTe|
|00000f40| 78 74 29 28 74 65 78 74 | 2c 6c 65 6e 67 74 68 2c |xt)(text|,length,|
|00000f50| 6d 61 74 72 69 78 29 20 | 3a 20 6c 65 6e 67 74 68 |matrix) |: length|
|00000f60| 3b 0d 09 23 65 6c 73 65 | 0d 09 09 72 65 74 75 72 |;..#else|...retur|
|00000f70| 6e 20 6f 70 65 6e 20 3f | 20 43 61 6c 6c 55 6e 69 |n open ?| CallUni|
|00000f80| 76 65 72 73 61 6c 50 72 | 6f 63 28 70 72 6f 63 73 |versalPr|oc(procs|
|00000f90| 2e 73 68 6f 77 54 65 78 | 74 2c 75 70 70 53 68 6f |.showTex|t,uppSho|
|00000fa0| 77 54 65 78 74 0d 09 09 | 09 2c 74 65 78 74 2c 6c |wText...|.,text,l|
|00000fb0| 65 6e 67 74 68 2c 6d 61 | 74 72 69 78 29 20 3a 20 |ength,ma|trix) : |
|00000fc0| 6c 65 6e 67 74 68 3b 0d | 09 23 65 6e 64 69 66 0d |length;.|.#endif.|
|00000fd0| 7d 0d 0d 73 68 6f 72 74 | 20 78 79 73 68 6f 77 54 |}..short| xyshowT|
|00000fe0| 65 78 74 41 54 4d 28 63 | 68 61 72 20 2a 74 65 78 |extATM(c|har *tex|
|00000ff0| 74 2c 73 68 6f 72 74 20 | 6c 65 6e 67 74 68 2c 46 |t,short |length,F|
|00001000| 69 78 65 64 4d 61 74 72 | 69 78 20 2a 6d 61 74 72 |ixedMatr|ix *matr|
|00001010| 69 78 2c 46 69 78 65 64 | 20 2a 64 69 73 70 6c 61 |ix,Fixed| *displa|
|00001020| 63 65 6d 65 6e 74 73 29 | 0d 7b 0d 09 23 69 66 20 |cements)|.{..#if |
|00001030| 47 45 4e 45 52 41 54 49 | 4e 47 36 38 4b 0d 09 09 |GENERATI|NG68K...|
|00001040| 72 65 74 75 72 6e 20 6f | 70 65 6e 20 3f 20 28 2a |return o|pen ? (*|
|00001050| 70 72 6f 63 73 2e 78 79 | 73 68 6f 77 54 65 78 74 |procs.xy|showText|
|00001060| 29 28 74 65 78 74 2c 6c | 65 6e 67 74 68 2c 6d 61 |)(text,l|ength,ma|
|00001070| 74 72 69 78 2c 64 69 73 | 70 6c 61 63 65 6d 65 6e |trix,dis|placemen|
|00001080| 74 73 29 20 3a 20 6c 65 | 6e 67 74 68 3b 0d 09 23 |ts) : le|ngth;..#|
|00001090| 65 6c 73 65 0d 09 09 72 | 65 74 75 72 6e 20 6f 70 |else...r|eturn op|
|000010a0| 65 6e 20 3f 20 43 61 6c | 6c 55 6e 69 76 65 72 73 |en ? Cal|lUnivers|
|000010b0| 61 6c 50 72 6f 63 28 70 | 72 6f 63 73 2e 78 79 73 |alProc(p|rocs.xys|
|000010c0| 68 6f 77 54 65 78 74 2c | 75 70 70 58 79 73 68 6f |howText,|uppXysho|
|000010d0| 77 54 65 78 74 0d 09 09 | 09 2c 74 65 78 74 2c 6c |wText...|.,text,l|
|000010e0| 65 6e 67 74 68 2c 6d 61 | 74 72 69 78 2c 64 69 73 |ength,ma|trix,dis|
|000010f0| 70 6c 61 63 65 6d 65 6e | 74 73 29 20 3a 20 6c 65 |placemen|ts) : le|
|00001100| 6e 67 74 68 3b 0d 09 23 | 65 6e 64 69 66 0d 7d 0d |ngth;..#|endif.}.|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 01 00 00 00 01 ae | 00 00 00 ae 00 00 00 52 |........|.......R|
|00001190| 4c 48 56 41 0b 57 6f 72 | 64 20 54 65 6d 70 20 33 |LHVA.Wor|d Temp 3|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 0e 41 54 4d 49 6e 74 65 | 72 66 61 63 65 2e 63 66 |.ATMInte|rface.cf|
|000011c0| 02 00 00 00 54 45 58 54 | 43 57 49 45 01 00 00 00 |....TEXT|CWIE....|
|000011d0| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 00 00 60 |..TEXTCW|IE.....`|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 a1 39 92 b5 00 00 | 10 90 00 00 02 00 03 d2 |...9....|........|
|00001200| 00 02 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 4c 48 56 41 12 43 |........|..LHVA.C|
|00001220| 6f 70 79 20 6f 66 20 54 | 46 74 6f 50 4c 2e 74 65 |opy of T|FtoPL.te|
|00001230| 78 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 00 |x.......|........|
|00001240| 00 00 54 45 58 54 2a 54 | 45 58 01 00 00 9b 02 58 |..TEXT*T|EX.....X|
|00001250| 00 00 00 00 0a 5d 00 00 | 00 01 20 f5 00 01 26 00 |.....]..|.. ...&.|
|00001260| 00 00 00 01 d6 16 00 01 | da 00 a1 46 8c e9 a1 5f |........|...F..._|
|00001270| 80 8e 00 00 00 00 1d 6a | 00 00 00 00 00 00 00 00 |.......j|........|
|00001280| 00 00 00 56 00 04 00 00 | 0e 56 00 00 0e 66 11 66 |...V....|.V...f.f|
|00001290| 6f 6e 74 41 76 61 69 6c | 61 62 6c 65 41 54 4d 00 |ontAvail|ableATM.|
|000012a0| 00 00 0c b8 00 00 0c bf | 07 69 6e 69 74 41 54 4d |........|.initATM|
|000012b0| 00 00 0e c5 00 00 0e d0 | 0b 73 68 6f 77 54 65 78 |........|.showTex|
|000012c0| 74 41 54 4d 00 00 0f 48 | 00 00 0f 55 0d 78 79 73 |tATM...H|...U.xys|
|000012d0| 68 6f 77 54 65 78 74 41 | 54 4d 00 00 00 48 00 09 |howTextA|TM...H..|
|000012e0| 4d 6f 6e 61 63 6f 00 00 | 00 00 00 00 00 00 00 00 |Monaco..|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 03 00 04 00 57 00 03 | 02 42 02 90 00 57 00 03 |.....W..|.B...W..|
|00001310| 02 42 02 90 ad ad 3c 4f | 00 00 03 85 00 00 03 89 |.B....<O|........|
|00001320| 00 00 00 73 00 00 00 00 | 00 04 00 01 00 01 00 00 |...s....|........|
|00001330| 01 00 00 00 01 ae 00 00 | 00 ae 00 00 00 52 00 eb |........|.....R..|
|00001340| 3e 48 3c 3a 00 00 00 1c | 00 52 00 01 4d 50 53 52 |>H<:....|.R..MPSR|
|00001350| 00 01 00 12 4d 57 42 42 | 00 00 00 2a 03 ef ff ff |....MWBB|...*....|
|00001360| 00 00 00 00 00 00 00 00 | 03 ed ff ff 00 00 00 5a |........|.......Z|
|00001370| 00 00 00 00 03 f0 ff ff | 00 00 00 a6 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+